<template>
	<view>
		<el-container>
			<el-header>
				<el-menu :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect"
					background-color="#545c64" text-color="#fff" active-text-color="#ffd04b">
					<el-menu-item index="1">续费中心</el-menu-item>
					<el-menu-item index="2">我的订单</el-menu-item>
				</el-menu>
			</el-header>
			<el-main>
					<owe-buy  :meId="meId" v-show="activeIndex=='1'"></owe-buy>
			</el-main>
		</el-container>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				activeIndex: '1',
				meId:''
			}
		},
		created() {
			this.meId =uni.getStorageSync('mechanism')
		},
		mounted() {
			
		},
		onReady() {
			
		},
		methods: {
			handleSelect(key, keyPath) {
				this.activeIndex = key 
			}
		}
	}
</script>

<style scoped lang="scss">
	@import url('./owefee.css');
</style>
